home *** CD-ROM | disk | FTP | other *** search
-
- ~4Dgifts/toolbox/README.Inventor
-
-
- PREFACE: If you want to develop/run both Inventor 2.0 and Inventor 1.1.2
- programs, the Inventor 2.0 release notes have information on
- how to install both sets of headers onto your system (and the
- Makefile changes you'll need to make...).
-
-
- With the release of IRIX 5.2 and Open Inventor 2.0, compatibility issues
- were grappled with in re-compiling pre-Inventor 2.0 programs for the D.T.
- Thought it wud be a benefit to pass on what was learned to D.T. fans....
-
-
- I. if one doesn't want to develop anything new, but simply wants to
- run Inventor program(s) linked with Inventor 1.1.2 or 1.0 libraries,
- simply install either the (versions -nv inventor_eoe.sw)
-
- inventor_eoe.sw.1_1 1011009700 Inventor 1.1.2 Run-time
- inventor_eoe.sw.1_0 1011009700 Inventor 1.0.1 Run-time
-
- inventor run-time compatibility libraries.
-
-
-
- II. if one does want to develop Inventor applications with Open Inventor
- 2.0, AND one also still needs to be able to [re-]compile programs
- written prior to Inventor 2.0, then one needs to carry out the
- following rigamarole:
-
-
- A. for doing C++ programming, at a *minimum*, one needs to install
- the following 2.0 Open Inventor subsystems:
-
- inventor_eoe.sw.inventor 1011009700 Inventor Required Files
- inventor_dev.sw.base 1011009700 Inventor Toolkit
-
- for doing C programming, at a *minimum*, one needs to also
- install:
-
- inventor_dev.sw.c 1011009700 Inventor C Library
-
-
- B. then, find yer earlier Inventor sw tape/CD inst images and load
- them as well.
-
- IMPORTANT--here you must specify a different "root directory".
-
- using the example of what was done on v4.1 of the D.T., the new
- root path/directory "/usr/myroot" was created and then, with the
- 1.1.2 inventor inst images put into the CDROM drive, the inst
- command
-
- inst -root /usr/myroot
-
- was invoked.
-
- from this point on, all images selected get installed under:
- /usr/myroot/var/inst inst history files
- /usr/myroot/usr/include headers
- /usr/myroot/usr/lib libraries
- /usr/myroot/usr/relnotes on-line release notes
- /usr/myroot/usr/catman man pages
-
- examining the machine these are currently loaded on, the
- currently installed 1.1.2 subsystems can be viewed by doing:
-
- % versions -nvr /usr/myroot
- I = Installed, R = Removed
-
- Name Version Description
-
- I inventor_dev 746248139 Inventor 3D Toolkit, 1.1.2
- I inventor_dev.man 1008000145 Inventor C++ Manual Pages
- I inventor_dev.man.relnotes 1008000145 Inventor Release Notes
- I inventor_dev.sw 1008000145 Inventor Optimized Software
- I inventor_dev.sw.base 1008000145 Inventor Libraries and Headers
-
- I inventor_eoe 746248139 Inventor Execution Only Environment, 1.1.2
- I inventor_eoe.man 1008000145 Inventor EOE Release Notes
- I inventor_eoe.man.relnotes 1008000145 Inventor EOE Release Notes
- I inventor_eoe.sw 1008000145 Inventor EOE Software
- I inventor_eoe.sw.inventor 1008000145 Inventor Required Files
-
-
- C. At this point, one needs to either set an environment variable
- defined to be the new "root directory" and include this in 1.1.2
- inventor program Makefiles, or "hard-code" the Makefiles to
- point to this different-than-the-default subtree.
-
- In v4.1 of the D.T. we implemented an enviroment variable named
- MYROOT
- # csh way:
- setenv MYROOT /usr/myroot
-
- # sh way:
- set MYROOT=/usr/myroot
- export MYROOT
-
- which then gets used inside the given Makefile to be expanded to
- its actual path at compile-time.
-
- See the Makefiles for
- src/demos/audio/drive
- src/exampleCode/games/IndiZone/sw
- src/exampleCode/inventor/sharedSV
- src/exampleCode/inventor/ivcalc
- to get a sense of how this bizness of employing MYROOT was
- implemented for the D.T.
-